home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / June 96 / Re OpenDoc Includes CW vs OD < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  2.0 KB  |  [TEXT/ttxt]

  1. Subject:     Re: OpenDoc Includes: CW vs OD
  2. Sent:        6/18/96 1:31 PM
  3. Received:    6/18/96 2:01 PM
  4. From:        Mark Lanett, mlanett@meer.net
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >Dear ODF Team:
  9. >
  10. >CW9's "MacOS Support" folder contains the same files as the "OpenDoc"
  11. >folder in the DR5 CD, but arranged in a different hierarchy. Should I leave
  12. >CW's OpenDoc stuff alone or replace it with OpenDoc stuff from the DR5 CD?
  13. >Why?
  14.  
  15. Ah, the OD Utils problem.
  16.  
  17. The OpenDoc Utilities exception-handling system is NOT completely mapped
  18. into ODF's exceptions. We changed some sources (those used by ODF
  19. directly), but everything else (in the Unused folder) is unchanged and NOT
  20. robust if you are using ODF exceptions. With CW native exceptions they
  21. should work fine.
  22.  
  23. This is why we have that second path ({Project
  24. ƒ}:::ODF:Found:ODUtils:Includes:) - to make sure that you use our fixed
  25. ODUtils and not the vanilla ones shipped with CW, although again, if you
  26. use any files from the Unused folder, we haven't fixed those anyway.
  27.  
  28. In our next release we won't even be shipping the Unused folder, just our
  29. small set of fixed files. We are planning to solve the exception handling
  30. problem (for all of ODUtils, not just the ones we use), probably for the R2
  31. release.
  32.  
  33. Right now, I suggest this:
  34.  
  35. If you are using ODF exception handling:
  36.  
  37. For files which we have in our ODUtils Include and Sources folders, make
  38. sure you use the ODF ones. These are modified to work with ODF exception
  39. handling.
  40.  
  41. Delete ODF's Unused folder. In some cases our files in that folder are
  42. out-of-date. The DR5 CD should have the latest bug-fix versions of those
  43. files.
  44.  
  45. If you are using native exception handling (which is faster and more robust
  46. at the expense of code size increase around 8%), then you should probably
  47. delete ALL our ODUtils files except ODNew.cpp and ODMemory.cpp and use the
  48. ones from the DR5 CD.
  49.  
  50.  
  51. --
  52. Mark Lanett <mlanett@meer.net>
  53. Have a bajillion brilliant Jobsian lithium licks
  54.  
  55.